<%@ page pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<html>
    <head>
        <title>评分设置</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style>
            #table{
                float:left;
                width:550px;
                height:400px;
                margin-left:50px;
                margin-bottom: 50px;
                margin-right:20px;
                border:1px solid #666666;
            }

            #top{
                width:100%;
                background:url(../image/biaoti.png);
                height:60px;
                border-bottom: 1px solid #666666;
                padding-top:5px;
                font-size:14px;
                font-family:Arial, Helvetica, sans-serif;
            }

            .buttonok{
                width:45px;
                height: 25px;
                background:url(../image/ok.png);
                float:right;
              
                border:1px outset;
                text-align: center;
                padding-top:3px;
                margin-right: 10px;
                cursor: pointer;
                font-size:14px;
                font-family:Arial, Helvetica, sans-serif;
            }
                .buttoncancel{
                width:45px;
                height: 25px;
                background:url(../image/cancel.png);
                float:right;
              
                border:1px outset;
                text-align: center;
                padding-top:3px;
                margin-right: 10px;
                cursor: pointer;
                font-size:14px;
                font-family:Arial, Helvetica, sans-serif;
            }
        </style>
        <script language="javascript">
            /* var index=0;

            function add_tr()
            {
                var fields=document.getElementById('test');
                var row=fields.insertRow(fields.rows.length);

                index++;
                var insertPoint=row.insertCell(0);
                insertPoint.innerHTML="<tr><td><select name='list1["+index+"]'><s:iterator value='' var=''><option value='<s:property value=''/>' ><s:property value=''/>\n\
                </option></s:iterator></select> </td></tr>";
            }*/

            function submit()
            {
                var form=document.getElementById('thisform');
                form.submit();
            }
            </script>
        </head>
        <body>
            <div id="table">
                <span id="top"><b>环境评分设置</b></span>
                <form id="thisform" action="config_Environment_Index?enterpriseId=<s:property value="enterpriseId" />" method="post">
                    <table style="height:320px;width:550px">
                        <s:iterator value="outValueDTOList" var="mark" status="mark1">
                        <tr>
                            <td>
                                <s:property value="#mark.factorName"/><input type="hidden" name="valueListDTO.factorName[<s:property value="#mark1.index"/>]" value="<s:property value='#mark.factorName'/>"/>
                                低于<input name="valueListDTO.standardValue[<s:property value="#mark1.index"/>]" type="text" size="10" value="<s:property value='#mark.standardValue'/>"/>,
                                变动幅度超过<input type="text" size="10" name="valueListDTO.changeValue[<s:property value="#mark1.index"/>]" value="<s:property value='#mark.changeValue'/>"/>时通知我.
                            </td>
                        </tr>                        
                        </s:iterator> 
                    </table>
            </form>
            <div style="margin-top:0px;border-top:1px solid #666666;padding-top: 0px;">
                <span class="buttonok"></span>
                <span class="buttoncancel" onClick="submit();"></span>
            </div>
        </div>
    </body>
</html>
